<?
$forms_popup = $data->GetSection('forms_popup');

$forms = $data->GetSectionsData('section_forms',$forms_popup->id);

//echo '<pre>';print_r($forms);echo '</pre>';

foreach($forms as $form)
{
    mod('catalog.forms.show.',array(
            'view'=>'forms.show.forms',
            'form'=>$form['alias']
        )
    );
}
?>



<?return?>
<div style="display:none">
    <div id="form_request" class="popup">
        <h2>Купить робот-пылесос</h2>
        <form>
            <div class="formDiv"><label for="Name">Имя</label>
                <input type="text" id="name" name="name" class="error">
            </div>
            <div class="formDiv"><label for="phone">Телефон</label>
                <input type="text" id="phone" name="phone">
            </div>

            <button class="sub-button" type="submit">Отправить заявку</button>
        </form>
    </div>
</div>